package android.framework.paging;

import android.os.Bundle;
import android.view.View;

public abstract class SingleViewActivity extends BaseActivity{
	 @Override
	    public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        
			BaseViewInitializer viewInitilazer = getView();
			View view = viewInitilazer.initView();
			setContentView(view);
		    
		    init(savedInstanceState);
	 }		
	 
	 public abstract void init(Bundle savedInstanceState);
	 public abstract BaseViewInitializer getView();
}
